<?php

// +----------------------------------------------------------------------
// | 微信配置
// +----------------------------------------------------------------------
// | @author fancsen
// +----------------------------------------------------------------------

return [
    //小程序ID
    'app_id'=>'wx1c448ceba2bdfe8e',
    //小程序密钥
    'app_secret'=>'1897cd0ef05a4cae837e425788060f16',
    //小程序登陆接口api
    'login_url'=>'https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code',
    //微信回调地址
    'notify_url'=>'http://fancs.cn/api/v1/pay/notify',
    //请求access_token地址
    'access_token_url' => "https://api.weixin.qq.com/cgi-bin/token?" .
      "grant_type=client_credential&appid=%s&secret=%s",
];